home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / netbday5.zip / NETBDAY.DOC next >
Text File  |  1992-10-30  |  8KB  |  184 lines

  1.                               NetBday
  2.  
  3.                     A VERY silly netware utility.
  4.  
  5. "This is probably the stupidest programme my son (the doctor) has ever
  6. written" (authentic apocryphal misquote from the author's mother)
  7.  
  8. -1) This release (#5)
  9.  
  10. Minor change - the one day warning now randomly selects from a range of
  11. suggestions like "Bake a cake" etc.
  12.  
  13. 0) This release (#4)
  14.  
  15. This release incorporates a user suggestion from the owner of a large
  16. birthday list - variable warning period. This of course mean lots of
  17. other changes, so probably new bugs.
  18.  
  19. #3 was a major upgrade - I finally got around to getting rid
  20. of a whole lot of baggage code which caused all sorts of minor
  21. complications for some users of earlier versions.
  22.  
  23. Windowing code is simpler and cleaner and in general the package should
  24. cause fewer problems. Keep those cards and letters coming folks...
  25.  
  26. 1) Licencing and legal stuff
  27.  
  28. This software and associated documentation is copyright software and
  29. may only be distributed and used under the terms described herein. The
  30. documentation and software provided in this package may be freely
  31. copied and distributed in unaltered form only. No fee may be charged
  32. for distribution or use of this package except by prior arrangement
  33. with the copyright holder whose contact details are provided at the
  34. end of this text.
  35.  
  36. This software and documentation are guaranteed to take up room on your
  37. disk until they are deleted. In addition, if this software breaks
  38. anything of yours, you get to keep all the pieces. Other than that,
  39. there are no guarantees or warranties of any kind including
  40. merchantability or fitness for purpose provided with this package. Use
  41. it at your own peril. Remember, you usually get what you pay for.
  42.  
  43. If you install this package, you may use it for a trial period of up
  44. to one calendar month with no obligation. If you like the package and
  45. wish to continue using it, you must send the author a postcard or
  46. email (details below) preferably describing the setting and number of
  47. users on your network(s). Other than that, go for it.
  48.  
  49. 2) Description
  50.  
  51. NetBday is a network login utility (specific to Novell networks) which
  52. is extremely popular with the users on my network (they made me write
  53. it when a clinical package I wrote started playing happy birthday
  54. whenever it was the birthday of a patient whose records were being
  55. accessed). It is quintessentially silly. This stupid program announces
  56. your user's birthdays to the world by playing "Happy Birthday"
  57. (complete with words for those who don't know them) whenever they
  58. login. Amazingly enough, that's all it does !.
  59.  
  60. 3) Installation
  61.  
  62. Create a text file (details below) containing your network's user
  63. login names, the text you want displayed as the users name (for
  64. example, a full name or nickname) and their birthdate. Call it
  65. BDLIST.DAT (or whatever you prefer). Put both the netbday.exe file and
  66. the birthday list file in your sys:public directory (or some other
  67. directory available to all users during the execution of the system
  68. login script. Make BOTH files readonly and sharable (use the netware
  69. "flag" utility - eg - "flag netbday.exe ro s") and add the following
  70. lines somewhere near the end of your system login script :-
  71.  
  72. #sys:public\netbday sys:public\bdlist.dat [U|A|N] [warning period (days)]
  73.  
  74. The first parameter on this login script command line is REQUIRED ! It must
  75. be a file containing birthday dates and user names (see below) and the
  76. user MUST HAVE READ and FIND ACCESS TO THAT DIRECTORY !!. SYS:PUBLIC is a
  77. reasonable place for such a file. Note that you can have multiple bdlist.dat
  78. files containing subsets of your users if you want to restrict notifications
  79. to workgroups (eg a single office). Make a set of birthday lists - one for
  80. each workgroup, make all members of each workgroup a member of a special
  81. Netware group (eg wg1, wg2 etc), test for membership of each workgroup and
  82. run Netbday using that particular workgroups birthday list - eg in your
  83. login script have a series of lines like
  84.  
  85. if member of "WG1" then #sys:\public\netbday #sys:\public\wg1.bd a 5
  86.  
  87. and so on.
  88.  
  89. The optional 2nd parameter a or n or u controls the behaviour of the
  90. program. The default is U.
  91. For music to be played to ALL users on any other user's birthday use a.
  92. For music NEVER to be played use n.
  93. For music to be played ONLY when a user logs in on his/her birthday, use u.
  94.  
  95. The optional 3rd parameter controls the advance notice period for future
  96. birthdays. The default is 5 days but any number you put here will override
  97. this. Try 365 to get ALL your users listed.
  98.  
  99. To recapitulate, the optional second parameter controls whether happy
  100. birthday is played to All users, (ie whenever it's someones birthday),
  101. No users (not even the user whose birthday it is) or the user (when it's
  102. his/her birthday) only.
  103.  
  104. The first parameter is the name of a birthday file - eg
  105.  
  106. netbday \public\bdlist.dat a
  107.  
  108. where the file, a plain ASCII text file, contains lines like
  109.  
  110. Joe , Jumpin joe flash, 22/11/1982
  111. jane,Plain old jane , 10/03/1923
  112. etc
  113.  
  114. The first name is the users NETWARE username.
  115. The second is what you'd like to see on the advance warning notification
  116. for that username.
  117.  
  118. Comments lines have * as the first character and are ignored
  119.  
  120. Remember, there can be multiple birthday list files selected by membership of
  121. a Netware group (see above) if you need to subset your users.
  122.  
  123. When a user logs in, the netbday executable reads the birthday list
  124. file (the path is passed as a command line parameter as shown above).
  125. It looks to see if anyone has a birthday today, and if so, plays
  126. "happy birthday" depending on the second parameter.
  127.  
  128. If not, it clears the screen, prints the programme name and version
  129. followed by a line saying whose birthday is next and in how many days if
  130. less than the advance warning duration.
  131. During the playing of "happy birthday", pressing any key will stop the
  132. silliness.
  133.  
  134. Note that some users may be insulted by this bizarre piece of social
  135. engineering, in which case the following strategem is recommended.
  136. Create a new user group (called BD for example). Make all users who
  137. want this program executed during login members of this group. Then
  138. change the system login script to something like this :-
  139.  
  140. if member of "BD" then begin
  141. #sys:public/netbday /public/bdlist.dat
  142. end
  143.  
  144. 4) Birthday list file structure
  145.  
  146. The BDLIST.DAT file must be a plain ascii file (NOT a nerdperfect file
  147. for example - although you can ask most wordprocessors to make a plain 
  148. dos text file). Each line starting with an asterix (*) is ignored as a 
  149. comment. Lines of data must have a netware user name, a comma, a
  150. name to display for that user name, another comma and a birthdate as 
  151. dd/mm (eg 03/06 for the third of June) for example :-
  152.  
  153. * this comment line will not be used as data
  154. jim,Sir James PonceNeuf,03/02
  155. judy,Judy Surname,04/05
  156. * this is the end of the file
  157.  
  158.  
  159. 5) Contacting the Author
  160.  
  161. NetBday was written in Turbo Pascal and uses a call from the tp5_api
  162. unit of Mark Bramwell (mark@hamster.business.uwo.ca) for finding the
  163. user's name. It uses the music unit of JC Kessels (J.C. Kessels,Philips de
  164. Goedelaan 7, 5615 PN Eindhoven,Netherlands).
  165.  
  166. Source code will be made available for large amounts of money or other
  167. good reason.
  168.  
  169. Email may be sent via the Internet to :-
  170. rml@extro.ucc.su.OZ.AU
  171.  
  172. Postcards may be sent to :-
  173. Dr. Ross Lazarus
  174. 29 Francis St.
  175. Bondi  NSW 2026
  176. Australia.
  177.  
  178. Please provide details of the equipment in use and problem(s)
  179. encountered if 'misfeatures' are detected in using this software, to the
  180. above address.
  181.  
  182. rml
  183. July 3, 1992.
  184.